package com.lxy.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "商品sku销售属性关联信息",description = "")
@TableName(value="spu_sku_attr_value")
public class SpuSkuAttrValue implements Serializable,Cloneable {
    /** 商品sku销售属性关联信息id */

    @TableId(value = "spu_sku_attr_id",type = IdType.AUTO)
    @ApiModelProperty(name = "商品sku销售属性关联信息id", notes = "")
    private Integer spuSkuAttrId;

/*    *//**
     * 创建时间
     *//*
    @ApiModelProperty(name = "创建时间", notes = "")
    private Date createTime;
    *//**
     * 更新时间
     *//*
    @ApiModelProperty(name = "更新时间", notes = "")
    private Date updateTime;*/

    /**
     * SPU ID
     */
    @ApiModelProperty(name = "SPU ID", notes = "")
    private Integer spuId;
    /**
     * SKU ID
     */
    @ApiModelProperty(name = "SKU ID", notes = "")
    private Integer skuId;
    /**
     * 销售属性ID
     */
    @ApiModelProperty(name = "销售属性ID", notes = "")
    private Integer attrId;
    /**
     * 销售属性名称
     */
    @ApiModelProperty(name = "销售属性名称", notes = "")
    private String attrName;
    /**
     * 销售属性值ID
     */
    @ApiModelProperty(name = "销售属性值ID", notes = "")
    private Integer attrValueId;
    /**
     * 销售属性值
     */
    @ApiModelProperty(name = "销售属性值", notes = "")
    private String attrValueName;
    /**
     * 状态 1:enable, 0:disable, -1:deleted
     */
    @ApiModelProperty(name = "状态 1:enable, 0:disable, -1:deleted", notes = "")
    private Integer status;
}